package com.crm.domain.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;  
import lombok.Data;  
  
import java.util.Date;

@Data
@ApiModel(description = "菜单权限表")  
public class Menu {
  
    @ApiModelProperty(value = "菜单ID", example = "1")  
    private Long menuId;  
  
    @ApiModelProperty(value = "菜单名称", required = true)  
    private String menuName;  
  
    @ApiModelProperty(value = "父菜单ID", example = "0")  
    private Long parentId;  
  
    @ApiModelProperty(value = "显示顺序", example = "0")  
    private Integer orderNum;  
  
    @ApiModelProperty(value = "路由地址")  
    private String path;  
  
    @ApiModelProperty(value = "组件路径")  
    private String component;  
  
    @ApiModelProperty(value = "是否为外链（0是 1否）", example = "1")  
    private Integer isFrame;  
  
    @ApiModelProperty(value = "是否缓存（0缓存 1不缓存）", example = "0")  
    private Integer isCache;  
  
    @ApiModelProperty(value = "菜单类型（M目录 C菜单 F按钮）")  
    private String menuType;  
  
    @ApiModelProperty(value = "菜单状态（0显示 1隐藏）", example = "0")  
    private String visible;  
  
    @ApiModelProperty(value = "菜单状态（0正常 1停用）", example = "0")  
    private String status;  
  
    @ApiModelProperty(value = "权限标识")  
    private String perms;  
  
    @ApiModelProperty(value = "菜单图标", example = "#")  
    private String icon;  
  
    @ApiModelProperty(value = "创建者")  
    private String createBy;  
  
    @ApiModelProperty(value = "创建时间")  
    private Date createTime;  
  
    @ApiModelProperty(value = "更新者")  
    private String updateBy;  
  
    @ApiModelProperty(value = "更新时间")  
    private Date updateTime;  
  
    @ApiModelProperty(value = "备注")  
    private String remark;


}